btrfs.c: remove unused variable
* btrfs.c (btrfs_ioctl): Remove "ret" variable.
diff --git a/btrfs.c b/btrfs.c
index 8371796..52f4156 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -471,10 +471,8 @@
int
btrfs_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
{
- int ret = 0;
-
switch (code) {
- /* Take no arguments; Command only. */
+ /* Take no arguments; command only. */
case BTRFS_IOC_TRANS_START:
case BTRFS_IOC_TRANS_END:
case BTRFS_IOC_SYNC:
@@ -1369,6 +1367,6 @@
default:
return RVAL_DECODED;
};
- return ret | RVAL_DECODED | 1;
+ return RVAL_DECODED | 1;
}
#endif /* HAVE_LINUX_BTRFS_H */