OSDN Git Service

STPK-1429 Remove an unused variable
authorPatrick Porlan <patrick.porlan@intel.com>
Mon, 14 Apr 2014 15:17:35 +0000 (17:17 +0200)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 10 May 2014 15:31:14 +0000 (08:31 -0700)
One line saved :)

Issue: STPK-1429

Change-Id: Idcee40635e2f302ab209779e7e4386615213bb3a
Signed-off-by: Patrick Porlan <patrick.porlan@intel.com>
control.c

index 49ec5a0..45b4e2e 100644 (file)
--- a/control.c
+++ b/control.c
@@ -85,7 +85,6 @@ static void refresh_sensor_report_maps(int dev_num)
        char sysfs_path[PATH_MAX];
        int active_channels;
        int offset;
-       int channel_count;
        int channel_size_from_index[MAX_SENSORS * MAX_CHANNELS] = { 0 };
        int sensor_handle_from_index[MAX_SENSORS * MAX_CHANNELS] = { 0 };
        int channel_number_from_index[MAX_SENSORS * MAX_CHANNELS] = { 0 };