diff options
author | Micah Gruber <micah.gruber@gmail.com> | 2007-09-28 22:42:11 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:53:53 -0700 |
commit | 1f8f4559f8c5829348a010a9e0bbb423310060d1 (patch) | |
tree | 2f1ec7d0febddda537062a3a914bcacadce32aed /drivers/net/sunbmac.c | |
parent | 13f7b8c011cd8d16ad3063409b9d969466c9e2f4 (diff) |
Fix a potential NULL pointer dereference in uli526x_interrupt() in drivers/net/tulip/uli526x.c
This patch fixes an apparent potential null dereference bug where we
dereference dev before a null check. This patch simply remvoes the
can't-happen test for a null pointer.
Signed-off-by: Micah Gruber <micah.gruber@gmail.com>
Cc: Grant Grundler <grundler@parisc-linux.org>
Acked-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sunbmac.c')
0 files changed, 0 insertions, 0 deletions