commit | 104f456ce1301fa49f7dffc129c0bce420da07df | [log] [tgz] |
---|---|---|
author | Mike Rapoport <mike.rapoport@gmail.com> | Thu Oct 01 12:14:02 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 02 11:50:52 2015 +0200 |
tree | 673e5ec3e798cf7099e0576a4c332e6f4876e6e1 | |
parent | 2d893537569948120332184bbea29c743f9951d9 [diff] |
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>