diff options
| author | Bart Van Assche <[email protected]> | 2017-05-23 23:48:50 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2017-11-01 18:44:49 +0000 |
| commit | 8a47aa9dc636db851254615ea79ba91a52cf9206 (patch) | |
| tree | c757f3585118dc416048c693dd7b8a9c7e7d0494 /drivers/fpga/fpga-region.c | |
| parent | scsi: qla4xxx: Convert timers to use timer_setup() (diff) | |
| download | kernel-8a47aa9dc636db851254615ea79ba91a52cf9206.tar.gz kernel-8a47aa9dc636db851254615ea79ba91a52cf9206.zip | |
target/iscsi: Simplify timer manipulation code
Move timer initialization from before add_timer() to the context
where the containing object is initialized. Use setup_timer() and
mod_timer() instead of open coding these. Use 'jiffies' instead
of get_jiffies_64() when calculating expiry times because expiry
times have type unsigned long, just like 'jiffies'.
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Andy Grover <[email protected]>
Cc: David Disseldorp <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
