Markus Elfring 304f0a4edb ATM-nicstar: Refactor a kmalloc() call in ns_init_card()
* The script "checkpatch.pl" can point out that assignments should usually
  not be performed within condition checks.
  Thus move an assignment for a local variable to a separate statement
  in this function.

* Replace the specification of a data structure by a pointer dereference
  as the parameter for the operator "sizeof" to make the corresponding size
  determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-10 21:45:25 -07:00
..
2011-03-31 11:26:23 -03:00
2015-01-18 00:28:41 -05:00
2016-07-01 05:58:26 -04:00
2015-06-10 22:46:34 -07:00
2011-03-31 11:26:23 -03:00
2013-02-08 14:22:05 -05:00
2015-01-18 00:28:41 -05:00
2015-12-29 15:32:24 -05:00
2012-03-28 18:30:03 +01:00
2011-07-26 16:49:47 -07:00
2015-01-18 00:28:41 -05:00