summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sm750fb/sm750.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 11:50:52 +0200
commit104f456ce1301fa49f7dffc129c0bce420da07df (patch)
tree673e5ec3e798cf7099e0576a4c332e6f4876e6e1 /drivers/staging/sm750fb/sm750.h
parent2d893537569948120332184bbea29c743f9951d9 (diff)
downloadop-kernel-dev-104f456ce1301fa49f7dffc129c0bce420da07df.zip
op-kernel-dev-104f456ce1301fa49f7dffc129c0bce420da07df.tar.gz
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 'drivers/staging/sm750fb/sm750.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud