|
@@ -1531,7 +1531,6 @@ bttv_switch_overlay(struct bttv *btv, struct bttv_fh *fh,
|
|
|
{
|
|
|
struct bttv_buffer *old;
|
|
|
unsigned long flags;
|
|
|
- int retval = 0;
|
|
|
|
|
|
dprintk("switch_overlay: enter [new=%p]\n", new);
|
|
|
if (new)
|
|
@@ -1551,7 +1550,7 @@ bttv_switch_overlay(struct bttv *btv, struct bttv_fh *fh,
|
|
|
if (NULL == new)
|
|
|
free_btres_lock(btv,fh,RESOURCE_OVERLAY);
|
|
|
dprintk("switch_overlay: done\n");
|
|
|
- return retval;
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
/* ----------------------------------------------------------------------- */
|