From: Leonardo Potenza Date: Tue, 5 Feb 2008 07:47:16 +0000 (-0800) Subject: drivers/net/tlan.c: compilation warning fix X-Git-Tag: v2.6.25-rc1~518^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c04a515085e6b94266db3e0e05c2700eeffa469;p=pandora-kernel.git drivers/net/tlan.c: compilation warning fix Add a check for the pci_register_driver() return value. Removed unused variable pad_allocated. The aim of this patch is to remove the following warning messages: drivers/net/tlan.c: In function 'tlan_probe': drivers/net/tlan.c:486: warning: ignoring return value of 'pci_register_driver', declared with attribute warn_unused_result Signed-off-by: Leonardo Potenza Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed