commit | aa5848bc4043abf92c0b72a636bbc0cbe2828fed | [log] [tgz] |
---|---|---|
author | Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> | Thu Jun 28 18:41:47 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 30 20:15:44 2018 +0900 |
tree | 35fc854cfe6930aa1670a9fe53f2f26f73b396b0 | |
parent | 21d61166cada03405db7ad2d985b3c2c0e46e074 [diff] |
net: emaclite: Simplify if-else statements Remove else as it is not required with if doing a return. It also coalesce the format onto a single line and add the missing space after the comma. Fixes below checkpatch warning- WARNING: else is not generally useful after a break or return Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: David S. Miller <davem@davemloft.net>