]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[PATCH] b44: miscellaneous cleanup
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 7 Nov 2005 00:50:46 +0000 (01:50 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 7 Nov 2005 08:37:05 +0000 (03:37 -0500)
commit874a6214bc1477004a0dd6f881b078d0d6b1eae9
treebf01333dce3b5ee11d1d9187efd7317fffb18ac5
parentc719369350bc566d2643067421fbf05f4b90e70b
[PATCH] b44: miscellaneous cleanup

- remove unneeded forward declarations
- s/kmalloc + memset/kzalloc/
- whitespace readjustement can't hurt
- wrong comment: b44_init_rings _is_ called with a spinlock held in
  b44_{open/set_ringparam/set_pauseparam/etc}.
  Actually, it does not need to be able to sleep
- b44_remove_one() can not be issued with a NULL device in its
  private member: remove the test.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/b44.c