diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-06-11 18:23:01 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-06-11 18:23:01 +1000 |
commit | 869c631c3e893a746a157930e11e634041b650e3 (patch) | |
tree | de08d3c1b83ef2f87836c3385226442bffc74bff /hw/p5ioc2-phb.c | |
parent | f2a7a5c23d81e61b9c31b2b0cb899f788c7f9197 (diff) | |
download | skiboot-869c631c3e893a746a157930e11e634041b650e3.zip skiboot-869c631c3e893a746a157930e11e634041b650e3.tar.gz skiboot-869c631c3e893a746a157930e11e634041b650e3.tar.bz2 |
Remove unused p5ioc2_set_sm_timeout from p5ioc2-phb.c
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/p5ioc2-phb.c')
-rw-r--r-- | hw/p5ioc2-phb.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/p5ioc2-phb.c b/hw/p5ioc2-phb.c index 0848b99..e3f546e 100644 --- a/hw/p5ioc2-phb.c +++ b/hw/p5ioc2-phb.c @@ -30,19 +30,6 @@ #define PHBERR(p, fmt, a...) prlog(PR_ERR, "PHB%d: " fmt, \ (p)->phb.opal_id, ## a) -/* Helper to set the state machine timeout */ -static inline uint64_t p5ioc2_set_sm_timeout(struct p5ioc2_phb *p, uint64_t dur) -{ - uint64_t target, now = mftb(); - - target = now + dur; - if (target == 0) - target++; - p->delay_tgt_tb = target; - - return dur; -} - /* * Lock callbacks. Allows the OPAL API handlers to lock the * PHB around calls such as config space, EEH, etc... |