[PATCH v2] rt-tests: cyclictest: remove the debug log "pid = xxx" in rstat_shm_open()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The infomation "pid = xxx" is printed with other infomation on the same
line. so remove this debug log in rstat_shm_open().

Signed-off-by: yeyunfeng <yeyunfeng@xxxxxxxxxx>
---
v1 -> v2:
 - remove the debug code

 src/cyclictest/cyclictest.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index b3d72caa10ce..8353f561bb46 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1910,7 +1910,6 @@ static int rstat_shm_open(void)
 	pid_t pid;

 	pid = getpid();
-	printf("pid = %d", pid);

 	snprintf(shm_name, SHM_BUF_SIZE, "%s%d", "/cyclictest", pid);

-- 
1.8.3.1




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux