[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1471947819-26534-1-git-send-email-dingxiang@huawei.com>
Date: Tue, 23 Aug 2016 18:23:39 +0800
From: Ding Xiang <dingxiang@...wei.com>
To: <arnaud.patard@...-net.org>, <gregkh@...uxfoundation.org>
CC: <devel@...verdev.osuosl.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH V2] staging:xgifb:remove unused code
The variable data is assigned but never used in rest code.
Signed-off-by: Ding Xiang <dingxiang@...wei.com>
---
drivers/staging/xgifb/vb_setmode.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index 50c8ea4..71bb9ca 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -727,7 +727,6 @@ static void XGI_SetCRT1DE(unsigned short ModeIdIndex,
tempax |= 0x40;
xgifb_reg_and_or(pVBInfo->P3d4, 0x07, ~0x42, tempax);
- data = xgifb_reg_get(pVBInfo->P3d4, 0x07);
tempax = 0;
if (tempbx & 0x04)
--
1.7.1
Powered by blists - more mailing lists