You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
From 9819e63ebfc46b01244df58fc0afd3285217cc7b Mon Sep 17 00:00:00 2001
|
|
From: Nathan Chancellor <natechancellor@gmail.com>
|
|
Date: Sat, 3 Mar 2018 23:34:50 -0700
|
|
Subject: [PATCH 242/454] staging: vchiq_arm: Remove unused variable
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This warning appears with GCC 6.4.0 from toolchains.bootlin.com:
|
|
|
|
../drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c: In function ‘vchiq_open’:
|
|
../drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1735:7: warning: unused variable ‘ret’ [-Wunused-variable]
|
|
int ret;
|
|
^~~
|
|
|
|
This variable's usage was removed by commit 3c980263c592 ("staging:
|
|
vchiq_arm: Make debugfs failure non-fatal"), making it useless.
|
|
|
|
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
|
---
|
|
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
|
|
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
|
|
@@ -1737,7 +1737,6 @@ vchiq_open(struct inode *inode, struct f
|
|
vchiq_log_info(vchiq_arm_log_level, "vchiq_open");
|
|
switch (dev) {
|
|
case VCHIQ_MINOR: {
|
|
- int ret;
|
|
VCHIQ_STATE_T *state = vchiq_get_state();
|
|
VCHIQ_INSTANCE_T instance;
|
|
|
|
|