]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: avoid casting inside cpu_to_* assignments
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Wed, 16 May 2018 11:25:55 +0000 (13:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 May 2018 12:47:14 +0000 (14:47 +0200)
commit0bbea44767c7ec3fc763d20f220e211b60a38bfa
tree92c2006d33c65477c69cbacedb9e92eadc8469c3
parentda03a6cf8bf4fdb8d20527d06e2595490e9aaa74
staging: ks7010: avoid casting inside cpu_to_* assignments

cpu_to_*() functions already have a cast to u* built in,
so the cast is never required. Review and remove all of
them along the code.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c
drivers/staging/ks7010/ks_hostif.c