drivers/net/tlan.c: compilation warning fix
authorLeonardo Potenza <lpotenza@inwind.it>
Tue, 5 Feb 2008 07:47:16 +0000 (23:47 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 5 Feb 2008 18:31:13 +0000 (13:31 -0500)
commit6c04a515085e6b94266db3e0e05c2700eeffa469
treeefd3f0d82c7a823b65a7b53e807bf31a5a1c0d3f
parent324ff2c1793b6d3d5c377cf6de2ada9b49af227a
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 <lpotenza@inwind.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tlan.c