This switch statement in perfmon/perfmon.c doesn't seem to have any effect,
so we should be be able to remove it.
Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>
---
perfmon/perfmon.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/perfmon/perfmon.c b/perfmon/perfmon.c
index ff0765a..6d1b56e 100644
--- a/perfmon/perfmon.c
+++ b/perfmon/perfmon.c
@@ -1145,13 +1145,6 @@ int __pfm_restart(struct pfm_context *ctx, int
*complete_needed)
return -EBUSY;
}
- switch (state) {
- case PFM_CTX_MASKED:
- break;
- case PFM_CTX_LOADED:
- if (ctx->smpl_addr && ctx->smpl_fmt->fmt_restart)
- break;
- }
__get_cpu_var(pfm_stats).pfm_restart_count++;
/*
* at this point, the context is either LOADED or MASKED
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/