[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160731.203247.112564519224260656.davem@davemloft.net>
Date: Sun, 31 Jul 2016 20:32:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zyjzyj2000@...il.com
Cc: xypron.glpk@....de, Dept-GELinuxNICDev@...gic.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] net: qlcnic: avoid superfluous assignement
From: zhuyj <zyjzyj2000@...il.com>
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 works.
The inlined function behaves exactly as if it were called as a
non-inline function from the perspective of side effects visible to
the program.
Powered by blists - more mailing lists