]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iwlwifi: pcie: make FH debugfs file code easier to understand
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Jan 2014 20:19:18 +0000 (21:19 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:32 +0000 (22:23 +0200)
commit56c2477f23c3bb3aa33516301b3eab0efe05bbe1
treec306609826e667e7735763a28a6144eb0988e71f
parent189fa2faac49bce07c6c6d83eca21cbe5bf47411
iwlwifi: pcie: make FH debugfs file code easier to understand

The code seems fine, as buf won't be assigned when an error
is returned, but checking for the error first is easier to
understand.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c