]> git.baikalelectronics.ru Git - kernel.git/commit
r6040: remove duplicate call to the pci_set_drvdata
authorDevendra Naga <devendra.aaru@gmail.com>
Fri, 6 Jul 2012 20:07:35 +0000 (20:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2012 23:16:12 +0000 (16:16 -0700)
commit4e30960fbf522d032f2707ff5fe1eaa94c5fb805
tree31ac05c7c4c5147465d4f3b401549982c483bf03
parente75c14fd589d31e4a1bc3c54c4161e70ff470d0d
r6040: remove duplicate call to the pci_set_drvdata

pci_set_drvdata is called twice at the remove path of driver,
call it once.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c