ni52: clean up initialization of priv
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 19 Mar 2008 09:44:09 +0000 (09:44 +0000)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 04:18:02 +0000 (00:18 -0400)
commit7f8cfd560875fd643024c02ea25d4f3b8f1fd31c
tree143205269d2f04732a843e5a1de2c7a60d315ea6
parente06ee2bb03f936c57265e447bc05e8324db61207
ni52: clean up initialization of priv

* initialize spinlock once
* check586() used to be done before we'd allocated ->priv; these days
  it's there from the very beginning, so we don't have to play with
  private copy.  Consequently, we don't need to mess with reinitializing
  ->base, etc. afterwards.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ni52.c
This page took 0.026404 seconds and 5 git commands to generate.