[RAMEN9610-8687][9610] wlbt: Fix warning in nan code
authorTarun Karela <t.karela@samsung.com>
Thu, 13 Sep 2018 09:35:11 +0000 (10:35 +0100)
committerhskang <hs1218.kang@samsung.com>
Tue, 20 Nov 2018 12:13:28 +0000 (21:13 +0900)
After sync with ERD stable on 11th september, it seems stricter
compilation check has been turned on upstream wherein warnings are
treated as errors.

Change-Id: I6f5241d6aa83b49b8fa551300a3235f9f1ae428a
SCSC-Bug-Id: SSB-30752
Signed-off-by: Tarun Karela <t.karela@samsung.com>
wifi_nan.cpp

index 4c1a2080879e21bc612d3bfec5917d195014b74e..e5a60d1e8a5629b61e1f191dda56fe4a5c22187a 100755 (executable)
@@ -287,7 +287,6 @@ class NanCommand : public WifiCommand {
     int processResponse(WifiEvent &reply, NanResponseMsg *response) {
         NanCapabilities *capabilities = &response->body.nan_capabilities;
         nlattr *vendor_data = reply.get_attribute(NL80211_ATTR_VENDOR_DATA);
-        //int len = reply.get_vendor_data_len();
         unsigned int val;
 
         for(nl_iterator nl_itr(vendor_data); nl_itr.has_next(); nl_itr.next()) {