6f5885a775
In go7007_alloc() kzalloc() is used for struct go7007
allocation. It means that there is no need in zeroing
any members, because kzalloc will take care of it.
Removing these reduntant initialization steps increases
execution speed a lot:
Before:
+ 86.802 us | go7007_alloc();
After:
+ 29.595 us | go7007_alloc();
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
go7007-driver.c | ||
go7007-fw.c | ||
go7007-i2c.c | ||
go7007-loader.c | ||
go7007-priv.h | ||
go7007-usb.c | ||
go7007-v4l2.c | ||
s2250-board.c | ||
snd-go7007.c |