]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: add braces around else condition in ixgbe_qv_lock_* calls
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 17 Jan 2014 09:21:36 +0000 (01:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:56:59 +0000 (18:56 -0800)
commitad9bc5b577bd52b476d8ec6beb8085780fd27a53
tree2c220a16636af827d51e80b1ae0d0afcf9143b62
parent28f1e099e56ac105cd2d601c0a28aab2b9d1e150
ixgbe: add braces around else condition in ixgbe_qv_lock_* calls

This patch adds braces around the ixgbe_qv_lock_* calls which previously only
had braces around the if portion. Kernel style guidelines for this require
parenthesis around all conditions if they are required around one. In addition
the comment while not illegal C syntax makes the code look wrong at a cursory
glance. This patch corrects the style and adds braces so that the full if-else
block is uniform.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h