[PATCH 3/5] staging: et131x: et131x_netdev: Fix brace coding style issues.

From: Michael Tate
Date: Sun Mar 07 2010 - 02:41:29 EST


This patch fixes 3 brace coding style issues reported by checkpatch.pl
Not resolved - One line > 80 chars and 11 'avoid externs' warnings.

Signed-off-by: Michael Tate <michael.tate@xxxxxxxxxx>
---
drivers/staging/et131x/et131x_netdev.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/et131x/et131x_netdev.c b/drivers/staging/et131x/et131x_netdev.c
index 24d97b4..6dd9b52 100644
--- a/drivers/staging/et131x/et131x_netdev.c
+++ b/drivers/staging/et131x/et131x_netdev.c
@@ -434,19 +434,16 @@ void et131x_multicast(struct net_device *netdev)
* accordingly
*/

- if (netdev->flags & IFF_PROMISC) {
+ if (netdev->flags & IFF_PROMISC)
adapter->PacketFilter |= ET131X_PACKET_TYPE_PROMISCUOUS;
- } else {
+ else
adapter->PacketFilter &= ~ET131X_PACKET_TYPE_PROMISCUOUS;
- }

- if (netdev->flags & IFF_ALLMULTI) {
+ if (netdev->flags & IFF_ALLMULTI)
adapter->PacketFilter |= ET131X_PACKET_TYPE_ALL_MULTICAST;
- }

- if (netdev->mc_count > NIC_MAX_MCAST_LIST) {
+ if (netdev->mc_count > NIC_MAX_MCAST_LIST)
adapter->PacketFilter |= ET131X_PACKET_TYPE_ALL_MULTICAST;
- }

if (netdev->mc_count < 1) {
adapter->PacketFilter &= ~ET131X_PACKET_TYPE_ALL_MULTICAST;
--
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/