Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f7fca1e8a8eeb6660396327b48995e3d9a7b6dc2
Commit:     f7fca1e8a8eeb6660396327b48995e3d9a7b6dc2
Parent:     1cf18d5aab5144866cb5221250905623b03a32a9
Author:     Jan Engelhardt <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 22 20:45:30 2008 +0100
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 14:17:46 2008 -0800

    IB/ipath: Remove unnecessary cast
    
    Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/hw/ipath/ipath_fs.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/hw/ipath/ipath_fs.c 
b/drivers/infiniband/hw/ipath/ipath_fs.c
index 52325e0..23faba9 100644
--- a/drivers/infiniband/hw/ipath/ipath_fs.c
+++ b/drivers/infiniband/hw/ipath/ipath_fs.c
@@ -238,8 +238,7 @@ static int create_device_files(struct super_block *sb,
 
        snprintf(unit, sizeof unit, "%02d", dd->ipath_unit);
        ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir,
-                         (struct file_operations *) &simple_dir_operations,
-                         dd);
+                         &simple_dir_operations, dd);
        if (ret) {
                printk(KERN_ERR "create_file(%s) failed: %d\n", unit, ret);
                goto bail;
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to