sfc: Remove the STATE_RESETTING flag
This was originally a kludge to fix broken locking, which has since been fixed properly. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:

committed by
Jeff Garzik

parent
8c8661e4ce
commit
3c78708fe8
@@ -459,8 +459,7 @@ enum nic_state {
|
||||
STATE_INIT = 0,
|
||||
STATE_RUNNING = 1,
|
||||
STATE_FINI = 2,
|
||||
STATE_RESETTING = 3, /* rtnl_lock always held */
|
||||
STATE_DISABLED = 4,
|
||||
STATE_DISABLED = 3,
|
||||
STATE_MAX,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user