media: ar0521: Remove redundant variable ret
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sun, 14 Aug 2022 17:42:13 +0000 (19:42 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 07:04:04 +0000 (09:04 +0200)
commit8fcccd2f37b27503694c6cd82a6c5ab911e69d73
tree3663f3baf2f35d9560b8c0fbde6b1f23e6faf8f8
parentb5f8fa876931c1adfd2c5eca5b189fd2be893238
media: ar0521: Remove redundant variable ret

ret in ar0521_set_fmt is never set to values other than 0. Replace it with
plain 0.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ar0521.c