shithub: riscv

Download patch

ref: 2c8181eed790fb5bc31c348f3988fd462601a0c3
parent: 0e96985e12d03ea0dcc9a82a5e4f307b80aca93d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 18 13:03:37 EST 2023

ip/cifsd: dont add pointless logging (already logged when debug is active)

--- a/sys/src/cmd/ip/cifsd/smb.c
+++ b/sys/src/cmd/ip/cifsd/smb.c
@@ -1761,7 +1761,6 @@
 void
 smbcmd(Req *r, int cmd, uchar *h, uchar *p, uchar *e)
 {
-	logit("processing [%.2x] command", cmd);
 	if((cmd >= nelem(optab)) || (optab[cmd].fun == nil)){
 		logit("[%.2x] command not implemented", cmd);
 		r->respond(r, STATUS_NOT_SUPPORTED);