summaryrefslogtreecommitdiff
path: root/include/linux/ring_buffer.h
diff options
context:
space:
mode:
authorMike Rapoport <mike.rapoport@gmail.com>2015-10-01 12:14:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 12:50:52 +0300
commit104f456ce1301fa49f7dffc129c0bce420da07df (patch)
tree673e5ec3e798cf7099e0576a4c332e6f4876e6e1 /include/linux/ring_buffer.h
parent2d893537569948120332184bbea29c743f9951d9 (diff)
downloadlinux-104f456ce1301fa49f7dffc129c0bce420da07df.tar.xz
staging: sm750fb: remove unneeded switch statement
The lynxfb_ops_check_var function has two switch statements, the first one checks for validity of var->bits_per_pixel and it is is immediatly followed by another one that sets parameters according to var->bits_per_pixel value. These switch statements can be merged into one. Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions