[PATCH 0/4] media: don't check retval after our own assignment

From: Wolfram Sang
Date: Thu Jun 13 2019 - 11:59:10 EST


Interesting how many cleanups I find until I can start the
refactorization I really want :) This series fixes a set of unneeded if
checks following the assignment of an errno constant.

Only build tested due to no HW.

Wolfram Sang (4):
media: cxd2820r_core: don't check retval after our own assignemt
media: mn88472: don't check retval after our own assignemt
media: mn88473: don't check retval after our own assignemt
media: zd1301_demod: don't check retval after our own assignemt

drivers/media/dvb-frontends/cxd2820r_core.c | 3 +--
drivers/media/dvb-frontends/mn88472.c | 6 ++----
drivers/media/dvb-frontends/mn88473.c | 6 ++----
drivers/media/dvb-frontends/zd1301_demod.c | 3 +--
4 files changed, 6 insertions(+), 12 deletions(-)

--
2.20.1