aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/netconsole.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index f1c2a2defd70..2c2aef1ae8eb 100644
--- a/drivers/net/netconsole.c
+++ b/drivers/net/netconsole.c
@@ -67,9 +67,6 @@ static void write_msg(struct console *con, const char *msg, unsigned int len)
67 int frag, left; 67 int frag, left;
68 unsigned long flags; 68 unsigned long flags;
69 69
70 if (!np.dev)
71 return;
72
73 local_irq_save(flags); 70 local_irq_save(flags);
74 71
75 for (left = len; left;) { 72 for (left = len; left;) {