iwlwifi: remove unnecessary cfg element in iwl_drv
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 13 Dec 2016 07:56:07 +0000 (09:56 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 6 Feb 2017 17:19:25 +0000 (19:19 +0200)
commit0c4881ced8d2e380d0544f1e7e3249d7bbc45979
tree1ff27a8dab1a2eb0f33729251d88c93e538d3e99
parent49060383a7585c61ab01c0043fd6202878ee9796
iwlwifi: remove unnecessary cfg element in iwl_drv

The iwl_drv structure contains trans which already contains cfg, so
storing cfg separately in iwl_drv is redundant.  Remove it and access
trans->cfg instead.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c