mISDN: use memchr_inv
Use memchr_inv to check if the data contains all same bytes. It is faster than looping for each byte. Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com> Cc: Karsten Keil <isdn@linux-pingi.de> Cc: netdev@vger.kernel.org Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录