diff options
author | 2018-09-25 02:04:03 +0000 | |
---|---|---|
committer | 2018-09-25 12:02:28 +0200 | |
commit | 0751736905710e20130e70f33cb40014af0e922e (patch) | |
tree | 8fc9ad120363d68d18eed4fe6e548303d1a43814 /drivers | |
parent | EDAC, ghes: Use CPER module handles to locate DIMMs (diff) | |
download | linux-0751736905710e20130e70f33cb40014af0e922e.tar.gz linux-0751736905710e20130e70f33cb40014af0e922e.tar.bz2 linux-0751736905710e20130e70f33cb40014af0e922e.zip |
EDAC, i7core: Remove set but not used variable pvt
Remove the unused local variable pvt:
drivers/edac/i7core_edac.c: In function 'i7core_mce_check_error':
drivers/edac/i7core_edac.c:1818:21: warning: variable 'pvt' set but not used \
[-Wunused-but-set-variable]
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1537841043-108267-1-git-send-email-yuehaibing@huawei.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/i7core_edac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index bd65f573e381..943aab62dea1 100644 --- a/drivers/edac/i7core_edac.c +++ b/drivers/edac/i7core_edac.c @@ -1815,14 +1815,12 @@ static int i7core_mce_check_error(struct notifier_block *nb, unsigned long val, struct mce *mce = (struct mce *)data; struct i7core_dev *i7_dev; struct mem_ctl_info *mci; - struct i7core_pvt *pvt; i7_dev = get_i7core_dev(mce->socketid); if (!i7_dev) return NOTIFY_DONE; mci = i7_dev->mci; - pvt = mci->pvt_info; /* * Just let mcelog handle it if the error is |