diff options
| author | 2010-06-09 21:59:03 +0000 | |
|---|---|---|
| committer | 2010-06-11 18:37:07 -0700 | |
| commit | fc0ba8e87189b02683177116932fa580ab97b7ff (patch) | |
| tree | ba9bac6b668cf6e5bbb2d1a55767302397641471 /kernel/sysctl_binary.c | |
| parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 (diff) | |
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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
