Satyam Sharma d133ccbdc3 [NET] netconsole: Remove bogus check
Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.

The (!np.dev) check in write_msg() is bogus (always false), because: np.dev is
set by netpoll_setup(), which is called by init_netconsole() before
register_console(), so write_msg() cannot be triggered unless netpoll_setup()
successfully set np.dev.  Also np.dev cannot go away from under us, because
netpoll_setup() grabs us reference on it.  So let's remove the bogus check.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Acked-by: Keiichi Kii <k-keiichi@bx.jp.nec.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:48:02 -07:00
..
2007-07-31 15:39:39 -07:00
2007-10-09 12:38:26 -07:00
2007-08-22 19:52:46 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:42 -07:00
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-10-10 16:48:02 -07:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-09-28 16:21:10 -07:00
2007-09-11 17:21:19 -07:00
2007-06-28 19:19:20 +10:00
2007-09-11 17:21:19 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-09-19 11:24:18 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00