diff options
author | Todd Fujinaka <todd.fujinaka@intel.com> | 2015-09-10 14:11:37 -0700 |
---|---|---|
committer | Todd Fujinaka <todd.fujinaka@intel.com> | 2015-09-10 14:11:37 -0700 |
commit | e7caa882739ff21b30da94d1c9731ee40d29456e (patch) | |
tree | caf77471622208b4645b39af813d9cb0ab30fbff /kmod/igb | |
parent | 2dc2d25143b491d147bbb79a3ff9badb631f83fe (diff) | |
download | Open-AVB-e7caa882739ff21b30da94d1c9731ee40d29456e.tar.gz |
igb_avb: fix typos
Diffstat (limited to 'kmod/igb')
-rw-r--r-- | kmod/igb/igb.h | 1 | ||||
-rw-r--r-- | kmod/igb/igb_main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kmod/igb/igb.h b/kmod/igb/igb.h index dc79d3f4..3e6a96b2 100644 --- a/kmod/igb/igb.h +++ b/kmod/igb/igb.h @@ -788,7 +788,6 @@ extern int igb_up(struct igb_adapter *); extern void igb_down(struct igb_adapter *); extern void igb_reinit_locked(struct igb_adapter *); extern void igb_reset(struct igb_adapter *); -extern int igb_reinit_queues(struct igb_adapter *); #ifdef ETHTOOL_SRXFHINDIR extern void igb_write_rss_indir_tbl(struct igb_adapter *); #endif diff --git a/kmod/igb/igb_main.c b/kmod/igb/igb_main.c index f938e3d0..8c21d105 100644 --- a/kmod/igb/igb_main.c +++ b/kmod/igb/igb_main.c @@ -1140,7 +1140,7 @@ static int igb_alloc_q_vector(struct igb_adapter *adapter, if (!q_vector) q_vector = kzalloc(size, GFP_KERNEL); else - q_vector = kzalloc(size, GFP_KERNEL); + memset(q_vector, 0, size); if (!q_vector) return -ENOMEM; |