From: Dan Carpenter <error27@xxxxxxxxx> Date: Tue, 10 Aug 2010 09:47:56 +0200 > In the original code we allocated memory conditionally and freed it in > the error handling unconditionally. It turns out that this function is > only called during initialization and "adapter->npars" and > "adapter->eswitch" are always NULL at the start of the function. I > removed those checks. > > Also since I was cleaning things, I changed the error handling for > qlcnic_get_pci_info() and pulled everything in an indent level. > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html