Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59266
b: refs/heads/master
c: 2aca0a8
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 12, 2007
1 parent 575c2f7 commit 5860035
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f53f066c25036210036730d64c876ea586114425
refs/heads/master: 2aca0a865722fce435034cee5a33e1726fe10a9f
10 changes: 0 additions & 10 deletions trunk/arch/arm/mach-pxa/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ int pxa_pm_enter(suspend_state_t state)
{
unsigned long sleep_save[SLEEP_SAVE_SIZE];
unsigned long checksum = 0;
struct timespec delta, rtc;
int i;
extern void pxa_cpu_pm_enter(suspend_state_t state);

Expand All @@ -87,11 +86,6 @@ int pxa_pm_enter(suspend_state_t state)
iwmmxt_task_disable(NULL);
#endif

/* preserve current time */
rtc.tv_sec = RCNR;
rtc.tv_nsec = 0;
save_time_delta(&delta, &rtc);

SAVE(GPLR0); SAVE(GPLR1); SAVE(GPLR2);
SAVE(GPDR0); SAVE(GPDR1); SAVE(GPDR2);
SAVE(GRER0); SAVE(GRER1); SAVE(GRER2);
Expand Down Expand Up @@ -183,10 +177,6 @@ int pxa_pm_enter(suspend_state_t state)

RESTORE(PSTR);

/* restore current time */
rtc.tv_sec = RCNR;
restore_time_delta(&delta, &rtc);

#ifdef DEBUG
printk(KERN_DEBUG "*** made it back from resume\n");
#endif
Expand Down

0 comments on commit 5860035

Please sign in to comment.