[PATCH] USB: convert kcalloc to kzalloc
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
a97e148a8b
commit
7b842b6e37
@@ -638,7 +638,7 @@ iso_stream_alloc (unsigned mem_flags)
|
||||
{
|
||||
struct ehci_iso_stream *stream;
|
||||
|
||||
stream = kcalloc(1, sizeof *stream, mem_flags);
|
||||
stream = kzalloc(sizeof *stream, mem_flags);
|
||||
if (likely (stream != NULL)) {
|
||||
INIT_LIST_HEAD(&stream->td_list);
|
||||
INIT_LIST_HEAD(&stream->free_list);
|
||||
|
Reference in New Issue
Block a user