summaryrefslogtreecommitdiff
path: root/tstamping.h
blob: ccc642e32c20c75b8e722222003081aa11c5a9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TSTAMPING_H
#define TSTAMPING_H

#include "config.h"

#ifdef HAVE_HARDWARE_TIMESTAMPING
extern int set_sockopt_hwtimestamp(int sock, const char *dev);
#else
static inline int set_sockopt_hwtimestamp(int sock, const char *dev)
{
	return -1;
}
#endif

#endif /* TSTAMPING_H */
0'>40space:mode:
authorKeith Busch <keith.busch@intel.com>2017-01-18 17:21:15 -0500
committerJens Axboe <axboe@fb.com>2017-01-18 15:14:15 -0700
commit88a7503376f4f3bf303c809d1a389739e1205614 (patch)
tree5004e4c61099074e7832ec38e88d258275c152f2 /include/uapi/asm-generic/Kbuild.asm
parentfa19a769f82fb9a5ca000b83cacd13fcaeda51ac (diff)
blk-mq: Remove unused variable
Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/uapi/asm-generic/Kbuild.asm')