]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
V4L/DVB (11460): gspca - m5602-po1030: Remove unnecessary error check
authorErik Andr?n <erik.andren@gmail.com>
Thu, 8 Jan 2009 07:01:23 +0000 (04:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:26 +0000 (18:20 -0300)
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_po1030.c

index 7eec6e8ca72ec8a236f0385931296e72411cca7a..0547841b2cb693287cf6bf0edd9a6c512a908553 100644 (file)
@@ -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;
 }