OSDN Git Service

igbvf: remove unused variable and dead code
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Apr 2016 23:08:30 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 May 2016 22:06:33 +0000 (15:06 -0700)
commit12b28b41084aa61970fecb417c66c88dcce6afed
treeb0970a56454d2167d296a21585a81f16605e16f1
parent3f544d2a4d5c2d817cfee9e6302fc2909aaef155
igbvf: remove unused variable and dead code

The variable rdlen is set but never used, and thus setting it is dead
code. Remove it.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igbvf/netdev.c