aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2020-03-21 08:58:36 +0000
committerSekhar Nori <[email protected]>2020-07-21 19:04:21 +0000
commit951e3956863270f664eea42dd359fea6402ce59c (patch)
treed7563ea9f1aba2817b724ae9cc4a42042ee249ed /scripts/gcc-plugins/sancov_plugin.c
parentARM: davinci: Fix trivial spelling (diff)
downloadkernel-951e3956863270f664eea42dd359fea6402ce59c.tar.gz
kernel-951e3956863270f664eea42dd359fea6402ce59c.zip
ARM: davinci: dm646x-evm: Simplify error handling in 'evm_sw_setup()'
There is no need to call 'gpio_free(evm_sw_gpio[i])' for these error handling cases, it is already done in the error handling path at label 'out_free'. Simplify the code and axe a few LoC. While at it, also explicitly return 0 in the normal path. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions