diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-10-01 12:14:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-02 12:50:52 +0300 |
commit | efca4885b2b86d9c1a2eb579f6e9d573d44896f8 (patch) | |
tree | 580981351e6e9129ef610c5151863dbc9c00ffcf /drivers/staging/sm750fb/sm750.h | |
parent | 104f456ce1301fa49f7dffc129c0bce420da07df (diff) | |
download | linux-efca4885b2b86d9c1a2eb579f6e9d573d44896f8.tar.xz |
staging: sm750fb: remove proc_checkMode method from lynxfb_output
The proc_checkMode of lynxfb_output is set to function that always
returns 0. Calling that function and checking for its return value is
meaningless.
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')
-rw-r--r-- | drivers/staging/sm750fb/sm750.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index b2f05f459505..1f365aeb5c97 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -143,7 +143,6 @@ struct lynxfb_output { struct fb_var_screeninfo*, struct fb_fix_screeninfo*); - int (*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*); int (*proc_setBLANK)(struct lynxfb_output*, int); void (*clear)(struct lynxfb_output *); }; |