staging: sm7xxfb: remove numvgamodes
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 17 Jun 2015 11:24:41 +0000 (16:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:44:29 +0000 (21:44 -0700)
commit7caf463de827a09430e4657e6b9d05fd5568e9dc
tree8df1d047da31f5b9d3974a9a7265e81411be0576
parent9d91928c9d70e86635cf34ad11024142f9f73dfc
staging: sm7xxfb: remove numvgamodes

numvgamodes was only used in one place, so remove the #define
and use its defined value.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xx.h
drivers/staging/sm7xxfb/sm7xxfb.c