mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
IB/ipath: Remove unnecessary cast
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
1cf18d5aab
commit
f7fca1e8a8
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue