aboutsummaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorFugang Duan <[email protected]>2016-01-11 05:13:35 -0200
committerMauro Carvalho Chehab <[email protected]>2016-02-01 08:01:15 -0200
commit949cf70636bfe12c160c36608d18c5f8d89d2940 (patch)
treec3fb04974832c94ed4bd1b404db144e284951d77 /lib/clz_tab.c
parent9dd73448c6a98b1971e626627e4b020b8898a3f6 (diff)
[media] radio-si476x: add return value check to avoid dead code
Dead code found on below code: si476x_radio_add_new_custom(radio, SI476X_IDX_DIVERSITY_MODE); if (rval < 0) goto exit; si476x_radio_add_new_custom(radio, SI476X_IDX_INTERCHIP_LINK); if (rval < 0) ====> Dead code !!! goto exit; The piece of code miss return value check after calling .si476x_radio_add_new_custom(), the patch fix it. Signed-off-by: Fugang Duan <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions