]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8192e: Replace ?: with max
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 31 May 2015 18:19:47 +0000 (20:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:33:22 +0000 (06:33 +0900)
commitc7a2fece48cd489269a1e9d04835e5bad9007188
tree23657c82653165f814272fb09760d5c9427d86f2
parentf307089f56a900a481f169d570f3e348cb82c693
staging: rtl8192e: Replace ?: with max

All get_key implementations return either -1 or small buffers, so
cast int->u16 is not a problem.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_wx.c