diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-10-05 02:16:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 20:05:27 +0200 |
commit | b21faa25c6d25a76c09f1e05a1b18ee2372e3841 (patch) | |
tree | 0a09a402dbfa7f2179a0921be004e53d19201053 /drivers/block/aoe/aoenet.c | |
parent | aoe: increase net_device reference count while using it (diff) | |
download | linux-b21faa25c6d25a76c09f1e05a1b18ee2372e3841.tar.xz linux-b21faa25c6d25a76c09f1e05a1b18ee2372e3841.zip |
aoe: remove unused code and add cosmetic improvements
This change removes some unused code and attempts to increase code
consistency.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoenet.c')
-rw-r--r-- | drivers/block/aoe/aoenet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index 5f43710601ab..3c923e56d535 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c @@ -175,7 +175,8 @@ aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, default: if (h->cmd >= AOECMD_VEND_MIN) break; /* don't complain about vendor commands */ - printk(KERN_INFO "aoe: unknown cmd %d\n", h->cmd); + pr_info("aoe: unknown AoE command type 0x%02x\n", h->cmd); + break; } if (!skb) |