# Re: \[PATCH v2 -next\] misc: ocxl: use DEFINE\_MUTEX() for mutex lock

- From: Michael Ellerman \<hidden\>
- Date: 2021-02-03 11:42:42 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/02/6256923
- Thread: https://ratatoskr.run/linuxppc-dev/2020/12/6217600/t.md

```text
On Thu, 24 Dec 2020 21:24:46 +0800, Zheng Yongjun wrote:
> mutex lock can be initialized automatically with DEFINE_MUTEX()
> rather than explicitly calling mutex_init().

Applied to powerpc/next.

[1/1] ocxl: use DEFINE_MUTEX() for mutex lock
      https://git.kernel.org/powerpc/c/52f6b0a90bcf573ba8a33e97544c7b6f292376a4

cheers
```
