From 7a809f5c209d2fc48e2fdbc3a6307f3ed1b36e27 Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Sun, 13 Nov 2011 00:09:24 +0200 Subject: [PATCH] staging: xgifb: rename XGINew_GetLCDDDCInfo() to XGINew_SenseLCD() Eliminate an unnecessary wrapper function. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/xgifb/vb_ext.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/staging/xgifb/vb_ext.c b/drivers/staging/xgifb/vb_ext.c index fb6d63cee825..f85d7d64d418 100644 --- a/drivers/staging/xgifb/vb_ext.c +++ b/drivers/staging/xgifb/vb_ext.c @@ -13,8 +13,7 @@ *********************** Dynamic Sense ************************ *************************************************************/ -static unsigned char -XGINew_GetLCDDDCInfo(struct xgi_hw_device_info *HwDeviceExtension, +unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *HwDeviceExtension, struct vb_device_info *pVBInfo) { unsigned short temp; @@ -56,14 +55,3 @@ XGINew_GetLCDDDCInfo(struct xgi_hw_device_info *HwDeviceExtension, return 1; } } - -unsigned short XGINew_SenseLCD(struct xgi_hw_device_info *HwDeviceExtension, - struct vb_device_info *pVBInfo) -{ - /* unsigned short SoftSetting ; */ - unsigned short temp; - - temp = XGINew_GetLCDDDCInfo(HwDeviceExtension, pVBInfo); - - return temp; -} -- 2.39.5