Re: [PATCH 1/5] libceph: nuke time_sub()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/21/2015 07:35 AM, Ilya Dryomov wrote:
> Unused since ceph got merged into mainline I guess.
> 
> Signed-off-by: Ilya Dryomov <idryomov@xxxxxxxxx>

Looks good.

Reviewed-by: Alex Elder <elder@xxxxxxxxxx>

> ---
>  include/linux/ceph/libceph.h | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h
> index 30f92cefaa72..85ae9a889a3f 100644
> --- a/include/linux/ceph/libceph.h
> +++ b/include/linux/ceph/libceph.h
> @@ -93,15 +93,6 @@ enum {
>  	CEPH_MOUNT_SHUTDOWN,
>  };
>  
> -/*
> - * subtract jiffies
> - */
> -static inline unsigned long time_sub(unsigned long a, unsigned long b)
> -{
> -	BUG_ON(time_after(b, a));
> -	return (long)a - (long)b;
> -}
> -
>  struct ceph_mds_client;
>  
>  /*
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux