flex_array: remove unneeded index calculation
flex_array_get() calculates an index value, then drops it on the floor; simply remove it. Signed-off-by: NJonathan Corbet <corbet@lwn.net> Acked-by: NDave Hansen <dave@linux.vnet.ibm.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录