be2net: define BE_MAX_MTU
authorKalesh AP <kalesh.purayil@emulex.com>
Tue, 2 Sep 2014 04:26:53 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 19:46:00 +0000 (12:46 -0700)
commit0d3f5ccec907bcfb4f5d4941d762dc2f89b2d24d
tree0c45ab7354be2d89b5be495faee6956ab10b2fff
parent3fb8cb801a9393888c09bea38d3e9ca360221b66
be2net: define BE_MAX_MTU

This patch defines a new macro BE_MAX_MTU to make the code in be_change_mtu()
more readable.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c