# Re: \[RFC v2 08/11\] gpiolib: cdev: Add hardware timestamp clock type

- From: Linus Walleij \<hidden\>
- Date: 2021-10-03 22:10:13 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/10/1529130
- Thread: https://ratatoskr.run/linux-tegra/2021/09/1527597/t.md

```text
On Fri, Oct 1, 2021 at 1:26 AM Dipen Patel [ref] wrote:

> +       if (test_bit(FLAG_EVENT_CLOCK_HARDWARE, &line->desc->flags)) {

I don't know if it's here or a few other places as well we could sneak
in a IS_ENABLED(CONFIG_HTE) to make sure the compiler will
optimize out a bunch of the HTE support code if HTE is not in use?

Just an idea, I guess it's not the most urgent.

Yours,
Linus Walleij
```
