Skip to content

Commit 4e66729

Browse files
committed
samples: Remove not needed CONFIG_ZVFS_OPEN_MAX option
The number of file/socket descriptors is now determined by CONFIG_ZVFS_OPEN_ADD_SIZE_* options and the networking side already sets the minimum values so the CONFIG_ZVFS_OPEN_MAX option is not needed. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 25b5c22 commit 4e66729

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

samples/drivers/video/tcpserversink/prj.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ CONFIG_NETWORKING=y
33
CONFIG_NET_TCP=y
44
CONFIG_NET_IPV4=y
55
CONFIG_NET_SOCKETS=y
6-
CONFIG_ZVFS_OPEN_MAX=6
76
CONFIG_POSIX_API=y
87

98
# Kernel options

samples/modules/thrift/hello/client/prj.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ CONFIG_NET_TCP=y
2828
CONFIG_NET_IPV6=n
2929
CONFIG_NET_IPV4=y
3030
CONFIG_NET_SOCKETS=y
31-
CONFIG_ZVFS_OPEN_MAX=6
3231
CONFIG_NET_CONNECTION_MANAGER=y
3332

3433
# Kernel options
@@ -59,10 +58,6 @@ CONFIG_NET_CONFIG_NEED_IPV4=y
5958
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
6059
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
6160

62-
# Number of socket descriptors might need adjusting
63-
# if there are more than 1 handlers defined.
64-
CONFIG_ZVFS_OPEN_MAX=16
65-
6661
# Some platforms require relatively large stack sizes.
6762
# This can be tuned per-board.
6863
CONFIG_MAIN_STACK_SIZE=8192

samples/modules/thrift/hello/server/prj.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ CONFIG_NET_CONFIG_NEED_IPV4=y
5050
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
5151
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
5252

53-
# Number of socket descriptors might need adjusting
54-
# if there are more than 1 handlers defined.
55-
CONFIG_ZVFS_OPEN_MAX=16
56-
5753
# Some platforms require relatively large stack sizes.
5854
# This can be tuned per-board.
5955
CONFIG_MAIN_STACK_SIZE=8192

0 commit comments

Comments
 (0)