Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ethernet: sis900: use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type) due to the type of the variable can change and one needs not change the former (unlike the latter). At the same time remove some unnecessary initializations and refactor a bit to make the code clearer. This patch has no effect on runtime behavior. Signed-off-by: Erick Archer <[email protected]> Signed-off-by: NipaLocal <nipa@local>
- Loading branch information