Commit:     13f9966b3ba5b45f47f2ea0eb0a90afceedfbb1f
Parent:     6c59649d49df4b9084bf407890734b5965d77b41
Author:     Suresh Jayaraman <[EMAIL PROTECTED]>
AuthorDate: Thu Jun 28 11:16:30 2007 -0600
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Thu Jul 12 16:34:43 2007 -0700

    USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc
    Remove unnecessary cast of return value of kzalloc() in
    Signed-off-by: Suresh Jayaraman <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/host/ohci-pnx4008.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/ohci-pnx4008.c b/drivers/usb/host/ohci-pnx4008.c
index d601bbb..ca2a6ab 100644
--- a/drivers/usb/host/ohci-pnx4008.c
+++ b/drivers/usb/host/ohci-pnx4008.c
@@ -134,7 +134,7 @@ static int isp1301_attach(struct i2c_adapter *adap, int 
addr, int kind)
        struct i2c_client *c;
-       c = (struct i2c_client *)kzalloc(sizeof(*c), GFP_KERNEL);
+       c = kzalloc(sizeof(*c), GFP_KERNEL);
        if (!c)
                return -ENOMEM;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to