Re: [PATCH] smb: remove obsolete comment

From: Steve French
Date: Tue Jun 06 2023 - 18:31:28 EST


tentatively merged into cifs-2.6.git for-next

On Tue, Jun 6, 2023 at 10:46 AM jixianghua@xxxxxxxxxxx <jxh218@xxxxxxx> wrote:
>
> From: 鑫华 <jixianghua@xxxxxxxxxxx>
>
> Because do_gettimeofday has been removed and replaced by ktime_get_real_ts64,
> So just remove the comment as it's not needed now.
>
> Signed-off-by: 鑫华 <jixianghua@xxxxxxxxxxx>
> ---
> fs/smb/client/transport.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/smb/client/transport.c b/fs/smb/client/transport.c
> index 24bdd5f4d3bc..0474d0bba0a2 100644
> --- a/fs/smb/client/transport.c
> +++ b/fs/smb/client/transport.c
> @@ -55,7 +55,7 @@ alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server)
> temp->pid = current->pid;
> temp->command = cpu_to_le16(smb_buffer->Command);
> cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command);
> - /* do_gettimeofday(&temp->when_sent);*/ /* easier to use jiffies */
> + /* easier to use jiffies */
> /* when mid allocated can be before when sent */
> temp->when_alloc = jiffies;
> temp->server = server;
> --
> 2.34.1
>


--
Thanks,

Steve