summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/dnet.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2016-03-02 13:47:08 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-02 13:31:56 -0500
commitca4f2d5036be809b0f82ce38a7663d237efa3986 (patch)
tree34756e4ea4c9eea5abb3acea50f3ecfe59e3dec0 /drivers/net/ethernet/dnet.h
parenta524ef77d54d7e12045841f4fcc430c1850f71f2 (diff)
bnx2x: access cfc_del_event only if the opcode is CFC_DEL
It's not really a bug, but it was odd that bnx2x_eq_int() read the message data as if it were a cfc_del_event regardless of the event type. It's cleaner to access only the appropriate member of union event_data after checking the event opcode. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dnet.h')
0 files changed, 0 insertions, 0 deletions