commit | d0de6ff6b92665c10a93795e9d041a61f64431af | [log] [tgz] |
---|---|---|
author | Fengguang Wu <fengguang.wu@intel.com> | Fri Oct 17 00:18:56 2014 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Oct 20 12:24:18 2014 +0100 |
tree | 1d93e85fbe2044ae7d9095911cdfb51f666a640c | |
parent | ce0c4caf256cb828e0465d3cd363ec145e446e21 [diff] |
spi/atmel: fix simple_return.cocci warnings drivers/spi/spi-atmel.c:1518:1-4: WARNING: end returns can be simpified and declaration on line 1514 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>