Re: [PATCH] IB/rxe: Reuse code which sets port state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2018/12/7 1:49, Bart Van Assche wrote:
On Thu, 2018-12-06 at 21:03 +0800, Yanjun Zhu wrote:
On 2018/12/6 19:01, Yuval Shaia wrote:
+void rxe_set_port_state(struct net_device *ndev, struct rxe_dev *rxe)
an inline function is better?
What makes you think that declaring this function 'inline' would be better?
The compiler should be smart enough to figure out that this function can be
From what compiler version, the compile is smart enough to figure out inline?

Zhu Yanjun
inlined without declaring it 'inline'.

Bart.




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux