diff options
| author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-10-01 12:14:02 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 12:50:52 +0300 |
| commit | 104f456ce1301fa49f7dffc129c0bce420da07df (patch) | |
| tree | 673e5ec3e798cf7099e0576a4c332e6f4876e6e1 /include/linux/kobj_map.h | |
| parent | 2d893537569948120332184bbea29c743f9951d9 (diff) | |
| download | linux-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/kobj_map.h')
0 files changed, 0 insertions, 0 deletions
