Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78e2c641 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina
Browse files

drivers/infiniband: Remove unnecessary casts of private_data

parent 33fa1d90
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp)


	mutex_lock(&ipath_mutex);
	mutex_lock(&ipath_mutex);


	fd = (struct ipath_filedata *) fp->private_data;
	fd = fp->private_data;
	fp->private_data = NULL;
	fp->private_data = NULL;
	pd = fd->pd;
	pd = fd->pd;
	if (!pd) {
	if (!pd) {