diff options
author | Geyslan G. Bem <geyslan@gmail.com> | 2016-01-26 02:45:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 22:44:05 +0100 |
commit | 12ef7dd97c3302c6c308484ffce392ef2383783a (patch) | |
tree | cdce1742e0f8b1c4aa753af5c3eee63f713fd5f6 /drivers/usb/host/ehci-dbg.c | |
parent | usb: host: ehci-dbg: remove blank line before close brace (diff) | |
download | linux-12ef7dd97c3302c6c308484ffce392ef2383783a.tar.xz linux-12ef7dd97c3302c6c308484ffce392ef2383783a.zip |
usb: host: ehci-dbg: replace sizeof operand
This patch fixes a coding style issue reported by checkpatch concerning
to usage of sizeof operand as a variable instead the type.
Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-dbg.c')
-rw-r--r-- | drivers/usb/host/ehci-dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c index 37dac751bac5..22e6d4c4548a 100644 --- a/drivers/usb/host/ehci-dbg.c +++ b/drivers/usb/host/ehci-dbg.c @@ -982,7 +982,7 @@ static struct debug_buffer *alloc_buffer(struct usb_bus *bus, { struct debug_buffer *buf; - buf = kzalloc(sizeof(struct debug_buffer), GFP_KERNEL); + buf = kzalloc(sizeof(*buf), GFP_KERNEL); if (buf) { buf->bus = bus; |