summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/m5602/m5602_po1030.c
diff options
context:
space:
mode:
authorErik Andr?n <erik.andren@gmail.com>2009-01-08 04:01:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:26 -0300
commit31e1715f9765206711c3a10556428e9d8fa2acad (patch)
tree32ab3e1d3e8a084fd377649ef001c25cb2a663be /drivers/media/video/gspca/m5602/m5602_po1030.c
parent3b9ae658ec77180d13152913a1f63b6f1b2756c2 (diff)
downloadblackbird-op-linux-31e1715f9765206711c3a10556428e9d8fa2acad.tar.gz
blackbird-op-linux-31e1715f9765206711c3a10556428e9d8fa2acad.zip
V4L/DVB (11460): gspca - m5602-po1030: Remove unnecessary error check
Signed-off-by: Erik Andr?n <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_po1030.c')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_po1030.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_po1030.c b/drivers/media/video/gspca/m5602/m5602_po1030.c
index 7eec6e8ca72e..0547841b2cb6 100644
--- a/drivers/media/video/gspca/m5602/m5602_po1030.c
+++ b/drivers/media/video/gspca/m5602/m5602_po1030.c
@@ -257,9 +257,6 @@ int po1030_init(struct sd *sd)
err = po1030_set_auto_white_balance(&sd->gspca_dev,
sensor_settings[AUTO_WHITE_BALANCE_IDX]);
- if (err < 0)
- return err;
-
return err;
}
OpenPOWER on IntegriCloud