Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-08-01 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 12:07:37 +0200 > Assigning NULL to parmeter dcb has no effect outside of the > inlined function. > > Signed-off-by: Heinrich Schuchardt Applied.

Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-07-31 Thread David Miller
From: zhuyj Date: Mon, 1 Aug 2016 10:57:20 +0800 > Sorry. > An inline function will be inserted into the calling function. Why > "Assigning NULL to parmeter dcb has no effect outside of the > inlined function." ? It doesn't do anything to "dcb" in the calling function, that's not how inlining wo

Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-07-31 Thread zhuyj
Sorry. An inline function will be inserted into the calling function. Why "Assigning NULL to parmeter dcb has no effect outside of the inlined function." ? On Sun, Jul 31, 2016 at 6:07 PM, Heinrich Schuchardt wrote: > Assigning NULL to parmeter dcb has no effect outside of the > inlined function.

[PATCH 1/1] net: qlcnic: avoid superfluous assignement

2016-07-31 Thread Heinrich Schuchardt
Assigning NULL to parmeter dcb has no effect outside of the inlined function. Signed-off-by: Heinrich Schuchardt --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h b/drivers/net/ethernet/qlogic/q