]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
igb: change pba size determination from if to switch statement
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Feb 2009 23:21:31 +0000 (23:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:43:14 +0000 (02:43 -0800)
commitfa4dfae0ce703976578015902025137d5e268501
treec2346894fce6278cd0e89f9ccfa51f9a3df8fb19
parenta8564f033efade1b6f027c4bb807cdf8cf5c9570
igb: change pba size determination from if to switch statement

As additional hardware is added to the igb driver it is easier to support
the expansion via switch statements instead of using nested ifs.  For
this reason I am changing this to a switch statement.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c