iwlwifi: mvm: move umac_error_event_table validity check to where it's set

There's no point in checking the validity of the
umac_error_event_table pointer every time we generate a dump.  It's
cleaner to do so when we read the value, namely when we receive the
alive data.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Luca Coelho 2017-10-02 15:44:20 +03:00
commit fb5b28469d
2 changed files with 15 additions and 16 deletions