forked from Minki/linux
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:
|
||
---|---|---|
.. | ||
go7007-driver.c | ||
go7007-fw.c | ||
go7007-i2c.c | ||
go7007-loader.c | ||
go7007-priv.h | ||
go7007-usb.c | ||
go7007-v4l2.c | ||
Kconfig | ||
Makefile | ||
s2250-board.c | ||
snd-go7007.c |