pass: hal: Fix build warning of unused variable 19/139919/1
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 20 Jul 2017 09:17:55 +0000 (18:17 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 21 Jul 2017 05:17:31 +0000 (14:17 +0900)
The commit ac65764c65d8 ("pass: hal: Assign resource name directly
instead of copying it) doesn't remove the unused variable. This patch
removes the unused variable to remove the build warning.

Change-Id: Ice9fe962c6ad5a4ec3941baabe0323b1d6748858
Fixes: ac65764c65d8 ("pass: hal: Assign resource name directly instead of copying it)
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-hal.c

index 3c0458c93828bbab10cce10cba620a7e1210f437..fb07fc1fc4b9510d7d5aba867d2d17d27c43b7d7 100644 (file)
@@ -710,7 +710,6 @@ int pass_get_resource(struct pass_resource *res)
        const char *name;
        int res_type;
        int ret;
-       int len;
 
        if (!res)
                return -EINVAL;