]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Staging: sm750fb: Remove unused functions
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 11 Mar 2016 06:58:49 +0000 (12:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
The functions dviGetDeviceID and dviGetVendorID are not used anywhere in
the kernel so remove them. Also, remove their function prototypes.
Grepped to find occurences.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_dvi.c
drivers/staging/sm750fb/ddk750_dvi.h

index a7a23514ac3900b31e20844b676c8d22e3cfb925..a4a255007c8d1f06526b12ccf1527f7f91f3278f 100644 (file)
@@ -53,44 +53,6 @@ int dviInit(
        return -1; /* error */
 }
 
-
-/*
- *  dviGetVendorID
- *      This function gets the vendor ID of the DVI controller chip.
- *
- *  Output:
- *      Vendor ID
- */
-unsigned short dviGetVendorID(void)
-{
-       dvi_ctrl_device_t *pCurrentDviCtrl;
-
-       pCurrentDviCtrl = g_dcftSupportedDviController;
-       if (pCurrentDviCtrl != (dvi_ctrl_device_t *)0)
-               return pCurrentDviCtrl->pfnGetVendorId();
-
-       return 0x0000;
-}
-
-
-/*
- *  dviGetDeviceID
- *      This function gets the device ID of the DVI controller chip.
- *
- *  Output:
- *      Device ID
- */
-unsigned short dviGetDeviceID(void)
-{
-       dvi_ctrl_device_t *pCurrentDviCtrl;
-
-       pCurrentDviCtrl = g_dcftSupportedDviController;
-       if (pCurrentDviCtrl != (dvi_ctrl_device_t *)0)
-               return pCurrentDviCtrl->pfnGetDeviceId();
-
-       return 0x0000;
-}
-
 #endif
 
 
index e1d4c9a2d50a2461e685960cd97271079c152b4f..677939cb5130c0337a4aab7f2665ba857a6c38a9 100644 (file)
@@ -55,8 +55,5 @@ int dviInit(
        unsigned char pllFilterValue
 );
 
-unsigned short dviGetVendorID(void);
-unsigned short dviGetDeviceID(void);
-
 #endif