From: Dan Carpenter Date: Wed, 9 Jun 2010 21:59:03 +0000 (+0000) Subject: enic: cleanup vic_provinfo_alloc() X-Git-Tag: v2.6.36-rc1~571^2~606 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0ba8e87189b02683177116932fa580ab97b7ff;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed