kernel-ark/drivers/net/enic
Dan Carpenter fc0ba8e871 enic: cleanup vic_provinfo_alloc()
If oui were a null variable then vic_provinfo_alloc() would leak memory.
But this function is only called from one place and oui is not null so
I removed the check.

I also moved the memory allocation down a line so it was easier to spot.
(No one ever reads variable declarations).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-11 18:37:07 -07:00
..
cq_desc.h enic: mask off some reserved bits in CQ descriptor for future use 2008-11-21 21:28:40 -08:00
cq_enet_desc.h enic: Bug Fix: Fix hardware descriptor reads 2010-03-18 21:22:47 -07:00
enic_main.c enic: bug fix: make the set/get netlink VF_PORT support symmetrical 2010-06-02 02:26:40 -07:00
enic_res.c net: Add ndo_{set|get}_vf_port support for enic dynamic vnics 2010-05-17 22:50:19 -07:00
enic_res.h net: Add ndo_{set|get}_vf_port support for enic dynamic vnics 2010-05-17 22:50:19 -07:00
enic.h enic: bug fix: make the set/get netlink VF_PORT support symmetrical 2010-06-02 02:26:40 -07:00
Makefile net: Add ndo_{set|get}_vf_port support for enic dynamic vnics 2010-05-17 22:50:19 -07:00
rq_enet_desc.h
vnic_cq.c
vnic_cq.h
vnic_dev.c net: Add ndo_{set|get}_vf_port support for enic dynamic vnics 2010-05-17 22:50:19 -07:00
vnic_dev.h net: Add ndo_{set|get}_vf_port support for enic dynamic vnics 2010-05-17 22:50:19 -07:00
vnic_devcmd.h enic: changes to driver/firmware interface 2009-09-03 20:19:23 -07:00
vnic_enet.h enic: feature add: add ethtool -c/C support 2009-12-23 21:03:41 -08:00
vnic_intr.c enic: feature add: add ethtool -c/C support 2009-12-23 21:03:41 -08:00
vnic_intr.h enic: feature add: add ethtool -c/C support 2009-12-23 21:03:41 -08:00
vnic_nic.h enic: whitespace cleanup; #define cleanup; more verbose err msg 2009-12-23 21:03:42 -08:00
vnic_resource.h enic: misc cleanup items: 2008-11-21 21:29:25 -08:00
vnic_rq.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
vnic_rq.h enic: organize device initialization/deinit into separate functions 2009-09-03 20:19:25 -07:00
vnic_rss.h enic: misc cleanup items: 2008-11-21 21:29:25 -08:00
vnic_stats.h
vnic_vic.c enic: cleanup vic_provinfo_alloc() 2010-06-11 18:37:07 -07:00
vnic_vic.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
vnic_wq.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
vnic_wq.h enic: organize device initialization/deinit into separate functions 2009-09-03 20:19:25 -07:00
wq_enet_desc.h