Thread (6 messages) 6 messages, 3 authors, 2012-05-11

Re: [net-next 2/2] igb: Add Support for new i210/i211 devices.

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-05-11 22:27:45

From: Jeff Kirsher <redacted>
Date: Fri, 11 May 2012 01:01:22 -0700
quoted hunk ↗ jump to hunk
+s32 igb_acquire_nvm_i210(struct e1000_hw *hw)
+{
+	s32 ret_val;
+
+	ret_val = igb_acquire_swfw_sync_i210(hw, E1000_SWFW_EEP_SM);
+
+	return ret_val;
+}
Please, this is just unnecessary syntactic masterbation, simplify this
to:

s32 igb_acquire_nvm_i210(struct e1000_hw *hw)
{
	return igb_acquire_swfw_sync_i210(hw, E1000_SWFW_EEP_SM);
}

And:
quoted hunk ↗ jump to hunk
+void igb_release_nvm_i210(struct e1000_hw *hw)
+{
+
+	igb_release_swfw_sync_i210(hw, E1000_SWFW_EEP_SM);
+}
Please get rid of that unnecessary empty line.

I can really tell when someone is extremely careless when removing
their debugging code, and I can almost guarentee that's what has
happened here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help